package cn.net.cfss.fgbp.provider.console.spi;

import cn.net.cfss.fgbp.api.console.inte.ILogService;
import cn.net.cfss.fgbp.api.console.vo.SysBusiLogVo;
import cn.net.cfss.fgbp.provider.console.biz.SysBusiLogDtoBiz;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RestController;


@RestController
@Slf4j
public class LogSpi implements ILogService {

    @Autowired
    SysBusiLogDtoBiz sysBusiLogDtoBiz;

    @Override
    public void logBusi(SysBusiLogVo log) {
        sysBusiLogDtoBiz.insert(log);
    }
}
